@echo off
FOR /R "C:\Program Files\Java\" %%i IN (*java.exe) DO set JAVA="%%i"
%JAVA% -cp bin\ Application.Main graphical